package com.xwh.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 向文豪
 * @program: springboot0412
 * @description:
 * @date 2023/4/12 19:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "公共json对象")
public class Result {
    @ApiModelProperty(value = "状态码 200正常 500错误")
    private Integer code;

    @ApiModelProperty(value = "消息内容")
    private String msg;

    @ApiModelProperty(value = "数据")
    private Object data;

}
